﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:c="clr-namespace:HomeUX.Controls;assembly=HomeUX.ClientLibrary"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Class="HomeUX.MusicClientLibrary.MusicSaveQueueScreen"
    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    Width="800" Height="530" IsTabStop="False" mc:Ignorable="d" IsEnabled="False">

    <UserControl.Resources>
		<Style x:Key="PlaylistButtonStyle" TargetType="c:TouchButton">
			<Setter Property="Width" Value="220" />
			<Setter Property="HorizontalContentAlignment" Value="Left" />
		</Style>
        <Style x:Key="PlaylistTextStyle" TargetType="TextBlock">
            <Setter Property="Width" Value="200" />
            <Setter Property="LineHeight" Value="16" />
            <Setter Property="LineStackingStrategy" Value="BlockLineHeight" />
            <Setter Property="TextWrapping" Value="Wrap" />
            <Setter Property="Margin" Value="8,0,8,0" />
        </Style>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Background="{StaticResource DefaultBackgroundBrush}">

		<TextBlock x:Name="HeaderTextBlock" Text="{}Save the Queue to a Playlist - {0}" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="18" Margin="10,10,0,0" />

        <TextBlock x:Name="InstructionsTextBlock" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="13" Margin="10,50,0,0" Text="Enter a playlist name and press Save"/>

        <c:TouchTextBox x:Name="PlaylistNameTextBox" Label="Playlist name:" Height="50" Margin="11,80,0,0" VerticalAlignment="Top" TabIndex="1" HorizontalAlignment="Left" Width="380" IsEnabled="False" TextChanged="PlaylistNameTextBox_TextChanged" KeyDown="PlaylistNameTextBox_KeyDown" />
		<c:TouchButton x:Name="SaveButton" Text="Save" Width="100" Margin="400,80,0,0" VerticalAlignment="Top" d:LayoutOverrides="Width, Height" HorizontalAlignment="Left" IsEnabled="False" Click="SaveButton_Click" />
        <TextBlock x:Name="CannotSaveMessage" VerticalAlignment="Center" FontSize="13" Margin="504,77,8,396" Foreground="Red" TextWrapping="Wrap" Text="You can't save because..."/>

        <TextBlock x:Name="CurrentPlaylistStateTextBlock" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="13" Margin="10,135,0,0" Text="Current playlist name:"/>
        <TextBlock x:Name="CurrentPlaylistNameTextBlock" HorizontalAlignment="Stretch" VerticalAlignment="Top" FontSize="13" Margin="10,153,0,0" FontWeight="Bold" Text="(Name)"/>
		
        <c:TouchKeyboard x:Name="Keyboard" TabScope="LayoutRoot" Margin="0,0,0,10" VerticalAlignment="Bottom" EnterClick="Keyboard_EnterClick" />

    </Grid>

</UserControl>

